package com.wx.frame.service;

import com.wx.common.baseservice.BaseService;

import java.util.List;

public interface MenuService<T> extends BaseService<T> {
    List<T> getMenu(T entity);
    List<T> getRolesMenu(T entity, String roles_pk);
    List<T> getCheckedMenu(T entity, String roles_pk);
    /**
     * 更新数据
     * @param entity
     */
    int update(T entity);
}
